home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gigarom 1
/
Gigarom Macintosh Archives (Quantum Leap)(CDRM1080320)(1993).iso
/
FILES
/
DEV
/
I-Z
/
RA.cpt
/
Var_Ptr_Hndl.ra
< prev
next >
Wrap
Text File
|
1986-10-17
|
802b
|
47 lines
|
| RA™
|
| Variables,programs, handles
|
| © 1986 COM~LINK & S.Koren
|
#M;
"RA™ allows you use variables when!"
"writing programs. However, it!"
"only allows you to have 26 variables.!"
"A thru Z. All variables are global!"
"unless they are withing a subroutine.!"
"RA however supports indirection.!!"
#A;
2 A: "Variable 'A' has " A. ! " in it.!"
A. B: "B has " B. ! " in it.!"
12 C: "C has " C. ! " in it.!"
"B is actually a pointer to C.!"
"B.. has " B.. ! " in it .!!"
#A;
"THE END."
$
&A "Hit any key:" ?§ µ @ `
|
| RA title routine
|
&M @ #L; 8 A: ( #N; A. 1 - A: A. 0 > ~ ) #L; #O; #P;`
&O
40 100 Ω
"RA™"
60 45 Ω
"© 1986 COM~LINK & S.Koren"
80 60 Ω
"All rights reserved." `
&L
35 A: ("•" A. 1 - A: A. 0 > ~ ) "!"`
&N
"•" 33 A: (" " A. 1 - A: A. 0 > ~ ) "•" "!"`
&P ?§ @ `
$